package com.Person;

/**
 * ClassName: PersonTest
 * Package:
 * Description:
 *
 * @Author 软件232班——欧阳昊淼
 * @Create 2024/8/27 19:56
 * @Version 17.0.2
 */
public class PersonTest {
    public static void main(String[] args) {


        Person age = new Person();
        age.setAge(20);


      if (age.getAge() > 0 || age.getAge() < 100) {
          System.out.println("年龄合法！");
      }else {
          System.out.println("不合法！");
      }
    }

}
